package com.ecnu.system.domain.dto;

import com.ecnu.common.core.page.PageDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class MyMessageDTO {

    @NotBlank(message = "消息类型不能为空")
    @ApiModelProperty(value = "消息类型（1消息，2代办")
    private String type;


    @NotBlank(message = "消息状态不能为空")
    @ApiModelProperty(value = "消息状态（1已读/已办，0待读/待办）")
    private String status;
    @ApiModelProperty(value = "分页参数")
    private PageDomain pageDomain;
}
